package cn.exlu.coco.core.utils;

import java.util.Properties;

public class SysUtil {
    public static final String WIN = "win";
    public static final String LINUX = "linux";

    public static final String getOsType(){
        Properties props=System.getProperties();
        
        String os = props.getProperty("os.name", LINUX);
        
        if(os.toLowerCase().contains("windows")){
            return "win";
        }
        
        return "linux";

    }
}
